package com.aspose.cells;

class zaxe extends zawu {
   private int c;
   private int d;
   private int e;

   zaxe(zahn var1, zaay var2, int var3) {
      super(var1, var2);
      this.c = var3;
      this.d = this.a.c() - 1;
   }

   public zahn b(zaay var1) {
      return new zaxe(this.a.b(var1), var1, this.c);
   }

   public int b() {
      return this.a.b();
   }

   public int c() {
      return this.d + 1;
   }

   public int d() {
      return 1;
   }

   public int e() {
      return this.d + 1;
   }

   public int i() {
      return this.e;
   }

   public int j() {
      return 0;
   }

   public int k() {
      return this.e;
   }

   public int u() {
      return 0;
   }

   public int t() {
      return 0;
   }

   public int s() {
      return this.a.s();
   }

   public int r() {
      return this.a.r();
   }

   public int w() {
      return this.a.s();
   }

   public int v() {
      return this.a.r();
   }

   public zagu a(int var1, int var2) {
      return this.a.a(var1, this.c);
   }

   public boolean a(int var1) {
      if (var1 == this.e) {
         return true;
      } else {
         this.e = var1 - 1;
         return this.g();
      }
   }

   public boolean b(int var1, int var2) {
      return this.a(var1);
   }

   public void f() {
      this.e = -1;
   }

   public boolean g() {
      if (this.e == this.d) {
         return false;
      } else {
         ++this.e;
         if (this.a.b(this.e, this.c)) {
            this.e = this.a.i();
            if (this.a.j() == this.c) {
               return true;
            } else if (this.e == this.d) {
               return false;
            } else {
               do {
                  if (this.a.j() > this.c) {
                     ++this.e;
                  }

                  if (!this.a.b(this.e, this.c)) {
                     return false;
                  }

                  this.e = this.a.i();
                  if (this.a.j() == this.c) {
                     return true;
                  }
               } while(this.e != this.d);

               return false;
            }
         } else {
            return false;
         }
      }
   }

   public zagu h() {
      return this.a.h();
   }

   public zahn b(int var1) {
      return new zaya(this.a.a(var1, this.c), this.a.b());
   }

   public zahn c(int var1) {
      return this;
   }
}
